package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Table(name = "cn_omc_old_out_set_meal_item")
public class OmcOldOutSetMealItem extends BaseEntity {

    /**
     * 老人出院-套餐-Id
     */
    @Column(name = "old_out_set_meal_id")
    private Long oldOutSetMealId;

    /**
     * 消费类别Id
     */
    @Column(name = "expense_type_id")
    private Long expenseTypeId;

    /**
     * 费用项id
     */
    @Column(name = "expense_item_id")
    private Long expenseItemId;

    /**
     * 缴费类型名
     */
    @Column(name = "item_type")
    private String itemType;

    /**
     * 缴费项目名
     */
    @Column(name = "item_name")
    private String itemName;

    /**
     * 项目费用
     */
    @Column(name = "item_fee")
    private BigDecimal itemFee;

    /**
     * 退费标准
     */
    @Column(name = "return_standard")
    private BigDecimal returnStandard;

    /**
     * 频次
     */
    private Integer times;

    /**
     * 剩余次数
     */
    @Column(name = "residue_degree")
    private BigDecimal residueDegree;

    /**
     * 金额合计
     */
    @Column(name = "total_fee")
    private BigDecimal totalFee;
}